<?php


class XmlRender extends RenderDecorator
{

    /**
     * @return mixed
     */
    public function renderData()
    {
        $doc = new DOMDocument();
        $data = $this->wrap->renderData();
        $doc->appendChild($doc->createElement('content', $data));
        return $doc->saveXML();
    }

    /**
     * @return mixed
     */
    public function render()
    {
        // TODO: Implement render() method.
    }
}